
public class MiniMaxAlg {

	Board board;
	
	public MiniMaxAlg(Board board)
	{
		this.board = board;
	}
	
	public char RunAlg()
	{
		//System.out.println(board.MaxValue());
		// Check who has more tools
		if(board.MaxValue() > (board.N * board.N) / 2)
			return 'B';
		else
			return 'W';
	}
	


}
